package com.cr.sync.domain.dto;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

@Data
public class LsdCountParam {

    /**
     * 区域
     */
    private String area;

    /**
     * 页码
     */
    @Min(value = 1, message = "页码不能小于1")
    private Integer page;

    /**
     * 每页数量
     */
    @Min(value = 1, message = "每页条数不能小于1")
    @Max(value = 50, message = "每页条数不能大于50")
    private Integer pageSize;

}
